//
//  UIColor+Extension.swift
//  HZJNavigationView
//
//  Created by HZJ on 2017/2/20.
//  Copyright © 2017年 HZJ. All rights reserved.
//

import UIKit

extension UIColor {
    /**
      *随机色
    */
    open class var random: UIColor {
        return  UIColor(displayP3Red: CGFloat(arc4random_uniform(255)) / 255, green: CGFloat(arc4random_uniform(255)) / 255, blue: CGFloat(arc4random_uniform(255)) / 255, alpha: 1)
    }
}
